<?php
namespace app\admin\controller;
use app\admin\services\EnterpriseService;
use app\common\controller\Base;

class Enterprise extends Base
{
    /**
     * @var EnterpriseService
     */
    protected $_service;

    protected function _setService()
    {
        $this->_service = new EnterpriseService();
    }

    public function authEnterprise()
    {
        return $this->commonData($this->_service->authEnterprise(I('post.')));
    }
}